package com.spr.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.util.Date;
import lombok.Data;

/**
 * 设备心跳记录日志表
 */
@ApiModel(description = "设备心跳记录日志表")
@Data
@TableName(value = "spr_device_heartbeat_status_record")
public class SprDeviceHeartbeatStatusRecord {
    @TableId(value = "id", type = IdType.AUTO)
    @ApiModelProperty(value = "")
    private Integer id;

    /**
     * 车间ID
     */
    @TableField(value = "workshop_id")
    @ApiModelProperty(value = "车间ID	")
    private Integer workshopId;

    /**
     * 设备机器码
     */
    @TableField(value = "device_code")
    @ApiModelProperty(value = "设备机器码	")
    private String deviceCode;

    /**
     * 设备名称
     */
    @TableField(value = "device_name")
    @ApiModelProperty(value = "设备名称	")
    private String deviceName;

    /**
     * 心跳记录时间
     */
    @TableField(value = "log_time")
    @ApiModelProperty(value = "心跳记录时间")
    private Date logTime;

    /**
     * 创建者
     */
    @TableField(value = "create_by")
    @ApiModelProperty(value = "创建者")
    private String createBy;

    /**
     * 创建时间
     */
    @TableField(value = "create_time")
    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    /**
     * 更新者
     */
    @TableField(value = "update_by")
    @ApiModelProperty(value = "更新者")
    private String updateBy;

    /**
     * 更新时间
     */
    @TableField(value = "update_time")
    @ApiModelProperty(value = "更新时间")
    private Date updateTime;
}